package org.jeecg.modules.yfRepair.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.workflow.vo.MyApplyVO;
import org.jeecg.modules.workflow.vo.MyDoneVO;
import org.jeecg.modules.workflow.vo.MyTodoVO;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 营房报修
 * @Author: jeecg-boot
 * @Date:   2020-06-13
 * @Version: V1.0
 */
@ApiModel(value="hq_yf_repair对象", description="营房报修")
@Data
@TableName("hq_yf_repair")
public class HqYfRepair implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**营区*/
	@Excel(name = "营区", width = 15, dicCode = "ying_qu")
    @Dict(dicCode = "ying_qu")
    @ApiModelProperty(value = "营区")
    private java.lang.String yingqId;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15, dictTable = "hq_louy", dicText = "name", dicCode = "id")
    @Dict(dictTable = "hq_louy", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼宇")
    private java.lang.String louy;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
    @ApiModelProperty(value = "楼层")
    private java.lang.Integer floor;
	/**房间*/
	@Excel(name = "房间", width = 15)
    @ApiModelProperty(value = "房间")
    private java.lang.String room;
	/**照片*/
	@Excel(name = "照片", width = 15)
    @ApiModelProperty(value = "照片")
    private java.lang.String picture;
	/**问题*/
	@Excel(name = "问题", width = 15)
    @ApiModelProperty(value = "问题")
    private java.lang.String problem;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private java.lang.String lianxr;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private java.lang.String lianxdh;
	/**上门时段*/
	@Excel(name = "上门时段", width = 15)
    @ApiModelProperty(value = "上门时段")
    private java.lang.String shangmsd;
	/**维修人员*/
	@Excel(name = "维修人员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "维修人员")
    private java.lang.String weixryId;
	/**维修状态*/
	@Excel(name = "维修状态", width = 15, dicCode = "weix_zt")
    @Dict(dicCode = "weix_zt")
    @ApiModelProperty(value = "维修状态")
    private java.lang.String weixzt;

    @Excel(name = "传输完成状态", width = 15)
    @ApiModelProperty(value = "传输完成状态")
    private String chuanswczt;

    private String processInstanceId;
//    公共区域
    private String gonggqy;

    @TableField(exist = false)
    private MyApplyVO myApplyVO;
    @TableField(exist = false)
    private MyTodoVO myTodoVO;
    @TableField(exist = false)
    private MyDoneVO myDoneVO;

    @TableField(exist = false)
    private Date endTime;
    @TableField(exist = false)
    private String auditStatus;
    @TableField(exist = false)
    private Integer processStatus;

    @TableField(exist = false)
    private String taskName;
    @TableField(exist = false)
    private String taskMsg;
    @TableField(exist = false)
    private String currtTaskId;

    private String taskId;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    Date assignTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    Date finishTime;

    /**归属分类，区分教保还是营房*/
    @Excel(name = "归属分类", width = 15)
    @ApiModelProperty(value = "归属分类")
    @Dict(dicCode = "weix_guisfl")
    private String guisfl;

    @TableField(exist = false)
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    private String assignName;

    @Dict(dictTable = "hq_yingf_weixgs", dicText = "mingc", dicCode = "id")
    @ApiModelProperty(value = "维修公司")
    private java.lang.String weixgsId;

    // 客户评分
    Integer pingf;

    String applicat;

}
